[IOMMU] dynamic VTd page table for HVM guest
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 3 Sep 2009 06:29:29 +0000 (07:29 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 3 Sep 2009 06:29:29 +0000 (07:29 +0100)
commitab3ea9b17eceddd98e9ea58220edc1a4e28353b3
treedb18bc09fae09191170794c2efbaa63fe8268b63
parente997adf2cef6b5fca2d67a8d0651b71f02a05847
[IOMMU] dynamic VTd page table for HVM guest

This patch makes HVM's VTd page table dynamic just like what PV guest
does, so that avoid the overhead of maintaining page table until a PCI
device is truly assigned to the HVM guest.

Signed-Off-By: Zhai, Edwin <edwin.zhai@intel.com>
xen/arch/ia64/xen/domain.c
xen/arch/ia64/xen/mm.c
xen/arch/x86/mm/hap/p2m-ept.c
xen/arch/x86/mm/p2m.c
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/pci.c
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h
xen/include/xen/sched.h